package com.thinkgem.jeesite.modules.front.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

public class MyTheme extends DataEntity<MyTheme> {
	
	private static final long serialVersionUID = 1L;
	
	private String sequence;		// 序号
	private String answer;			// 答案
	

	public MyTheme() {
		super();
	}

	public MyTheme(String id){
		super(id);
	}
	@Length(min=1, max=10, message="题目序号")
	public String getSequence() {
		return sequence;
	}

	public void setSequence(String sequence) {
		this.sequence = sequence;
	}

	@Length(min=1, max=1, message="答案不能为空")
	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}
	
}
